import request from '@/utils/request'

export function uploadFile(params, _token) {
  return request({
    url: '/common/upload',
    method: 'post',
    headers: {
      'Content-Type': 'multipart/form-data;',
      _token: _token
    },
    data: params
  })
}
